<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
    <h1>基本对象</h1>
    <p th:text="${#request.getAttribue('test')}"></p>
    <p th:text="${test}"></p>
    <p th:text="${session.test}"></p>
    <p th:text="${#dates.format(date , 'yyyy-MM-dd HH:mm:ss')}">2019-11-27 15:56:38</p>
    <p th:text="${#dates.createToday()}">2019-11-27</p>

<!--        <<div th:object="${user}">-->
<!--        <span th:text="*{usrName}">...</span>-->
<!--     <a th:if="${flag == }"-->
    </div>
</body>
</html>